package com.yhuk.oauth.server.model;

import java.io.Serializable;

/**
 * @author xiaolang
 * @version 1.0.0
 */
public class User implements Serializable{
    private long userId;

    private String userName;

    private String password;

    //需要提供一个无参构造函数
    public User() {

    }
    public User(long userId, String userName, String password) {
        this.userId = userId;
        this.userName = userName;
        this.password = password;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
